package com.yjha.lzmarathonsys.enums;

public interface RedisKeyEnum {

    /**
     * 添加评论冷却时间key
     */
    String COMMENT_COOLDOWN = "comment_cooldown:";

    /**
     * 获取评论树key
     */
    String COMMENT_TREE = "comment_tree:";

    /**
     * 评论冷却时间
     */
    Long COMMENT_COOLDOWN_SECONDS = 30L;

    /**
     * 审核评论分布式锁key
     */
    String COMMENT_AUDIT = "comment_audit:";


    /**
     * 审核评论分布式锁时间
     */
    Long LOCKE_TIME = 5L;


}
